<template>
    <div>
        userPage 路径传参<hr>
        <!-- 直接输入以下路径 -->
        <!-- localhost:8080/user/007/name/admin -->
        id: {{ $route.params.id }}<br>
        name: {{ $route.params.name }}<br>
    </div>
</template>

<script>

</script>

<style lang="scss" scoped>

</style>